﻿using System;
using BlueDot.Data.Core;

namespace CustomBusinessLogic.Data.Managers
{
    public class CustomManager : IEntityManager
    {
        #region public

        /// <summary>
        /// Method that is called on PostSave
        /// </summary>
        /// <param name="request"></param>
        public void PostSaveValidation(EntitySaveRequest request)
        {
            Console.WriteLine("CustomManager.PostSaveValidation called");
        }

        /// <summary>
        /// Method that is called on PreSave
        /// </summary>
        /// <param name="request"></param>
        public void PreSaveValidation(EntitySaveRequest request)
        {
            Console.WriteLine("CustomManager.PreSaveValidation called");
        }

        #endregion
    }
}